package com.qianyu.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.TenderProjectInfo;
import com.qianyu.project.mapper.TenderProjectInfoMapper;
import com.qianyu.project.service.ITenderProjectInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qianyu.project.utils.PageUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 投标项目信息 服务实现类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Service
public class TenderProjectInfoServiceImpl extends ServiceImpl<TenderProjectInfoMapper, TenderProjectInfo> implements ITenderProjectInfoService {

    @Autowired
    private TenderProjectInfoMapper tenderProjectInfoMapper;

    @Override
    public IPage<TenderProjectInfo> getPageList(Map<String, String> params) {
        return tenderProjectInfoMapper.selectPageList(PageUtil.createPage(params),params);
    }
}
